package yanjun.tool.validate.service.impl;

import org.springframework.stereotype.Service;
import yanjun.tool.validate.service.StudentService;
import yanjun.tool.validate.service.bo.StudyInput;

import javax.validation.Valid;

@Valid
@Service
public class StudentServiceImpl implements StudentService {

    @Override
    public String study(@Valid  StudyInput studyInput)
    {
        return "aaaa";
    }
}
